Skip to content

15.9 MicroBuild template with SBOM #11654

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 59 commits into
base: vs15.9
Choose a base branch
from

Conversation

JanProvaznik
Copy link
Member

@JanProvaznik JanProvaznik commented Apr 1, 2025

Change the build pipeline using MicroBuild template for VS15.9.

building on #11629 adds SBOM embedding

the passing internal run: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=11305243&view=results

The commented tests: src\Utilities.UnitTests\TrackedDependencies\FileTrackerTests.cs could find the namespace Microsoft.CodeAnalysis.BuildTasks.

The rest of the test projects were changed due to compatibility errors on the build.

NO functional changes were introduced

@JanProvaznik JanProvaznik changed the title Micro build with SBOM 15.9 MicroBuild template with SBOM Apr 1, 2025
Copy link
Contributor

Hello! I noticed that you're targeting one of our servicing branches. Please consider updating the version.

@YuliiaKovalova YuliiaKovalova marked this pull request as ready for review April 1, 2025 11:24
Disable PdbGit
(backport https://devdiv.visualstudio.com/DevDiv/_git/DotNet-msbuild-Trusted/commit/6cd4ff89f498211440c4e05e78763c45db596557?_a=compare&path=/src/MSBuildTaskHost/MSBuildTaskHost.csproj&tab=details)

It looks like it wasn't working before, with the warning

.nuget\packages\pdbgit\3.0.41\tools\PdbGit.targets(9,5): warning : No source files found that are tracked in a git repo. [E:\A\_work\102\s\src\MSBuildTaskHost\MSBuildTaskHost.csproj]
And now it's producing many warnings like


C:\Users\raines\.nuget\packages\pdbgit\3.0.41\tools\PdbGit.targets(9,5): warning : File "s:\msbuild2\artifacts\obj\msbuildtaskhost\release\net35\msbuildtaskhost.version.cs" missing or changed since the PDB was compiled. [s:\msbuild2\src\MSBuildTaskHost\MSBuildTaskHost.csproj]
C:\Users\raines\.nuget\packages\pdbgit\3.0.41\tools\PdbGit.targets(9,5): warning : File "s:\msbuild2\src\framework\buildengineresult.cs" missing or changed since the PDB was compiled. [s:\msbuild2\src\MSBuildTaskHost\MSBuildTaskHost.csproj]
C:\Users\raines\.nuget\packages\pdbgit\3.0.41\tools\PdbGit.targets(9,5): warning : File "s:\msbuild2\src\framework\runinstaattribute.cs" missing or changed since the PDB was compiled. [s:\msbuild2\src\MSBuildTaskHost\MSBuildTaskHost.csproj]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants